package com.jhq.zuoye2.controller;

import com.jhq.zuoye2.sevice.UserService;
import com.jhq.zuoye2.sevice.impl.UserServiceImpl;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author jianghaoqiang
 * @Date 2022/12/17
 */
@Controller("userController")
public class UserController {

    private UserService userService;
    public String save(){
        this.userService.save();
       return "userController...save...";
    }

    public void setUserService(UserServiceImpl userService) {
        this.userService=userService;
    }
}
